﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FrameWork.Setting;
using System.Windows.Forms;
using FrameWork.Output;

namespace FrameWork.Plugin
{
    /// <summary>
    /// 为插件提供方法接口
    /// </summary>
    public interface IPlugin
    {

        /// <summary>
        /// 获取插件名称
        /// </summary>
        /// <returns></returns>
        string GetPluginName();

        /// <summary>
        /// 获取组件的Guid
        /// </summary>
        Guid GetPluginGuid();

        /// <summary>
        /// 获取插件描述
        /// </summary>
        /// <returns></returns>

        string GetPluginDescription();

        /// <summary>
        /// 启用插件
        /// </summary>
        /// <returns></returns>
        bool Enable();

        /// <summary>
        /// 禁用插件
        /// </summary>
        /// <returns></returns>
        bool Disable();

        /// <summary>
        /// 初始化插件
        /// </summary>
        /// <returns></returns>
        bool Init();

    }
}
